package com.zzptc.wxx;

import java.util.Arrays;
import java.util.List;

public class Test {


    public static void main(String[] args) {
        String s="www.zzptc.com";
        List<String> strings=Arrays.asList(s.split("\\."));
        strings.forEach(f-> System.out.println(f));

        List<String> list= Arrays.asList("one","two","three");
        list.forEach(m-> System.out.println(m));
    }
}